#ifndef LINKEDLISTLIB
	#define LINKEDLISTLIB

	typedef struct LinkedListNode{
		void * pData;
		struct LinkedListNode * pNext;
	}LinkedListNode;


	typedef struct LinkedList{
		struct LinkedListNode *pHead, *pTail;
		int iNodeCount;
	}LinkedList;

	void InitLinkedList ( LinkedList * pList );

	int AddNode ( LinkedList * pList, void * pData );
	void FreeLinkedList ( LinkedList * pList );
#endif
